<#include "../../head.ftl">
<div class="page_title">客户信息管理 &gt; 客户信息 &gt; 历史订单 &gt; 订单明细 </div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="back();">返回</button>
</div>
<table class="query_form_table" height="59">
    <tr>
        <th>订单编号</th>
        <td>${orders.id}</td>
        <th>日期</th>
        <td>${orders.createtime?string("yyyy年MM月dd日")}</td>
    </tr>
    <tr>
        <th height="28">送货地址</th>
        <td>${orders.address}</td>
        <th height="28">总金额（元）</th>
        <td>${orders.amount}</td>
    </tr>
    <tr>
        <th height="28">状态</th>
        <td>${orders.status}</td>
        <th height="28">&nbsp;</th>
        <td>&nbsp;</td>
    </tr>
</table>
<br />
<table class="data_list_table">
    <tr>
        <th>商品</th>
        <th>数量</th>
        <th>单位</th>
        <th>单价（元）</th>
        <th>金额（元）</th>
    </tr>
    <#list orders.ordersItems as ordersItem>
        <tr>
            <td class="list_data_text">${ordersItem.product.name}-${ordersItem.product.version}-${ordersItem.product.grade} ${ordersItem.product.batch}</td>
            <td class="list_data_ltext">${ordersItem.number}</td>
            <td class="list_data_text">${ordersItem.product.unit}</td>
            <td class="list_data_text">${ordersItem.product.price}</td>
            <td class="list_data_text">${ordersItem.money}</td>
        </tr>
    </#list>
</table>
</body>
</html>